import Vue from 'vue'
import App from './App'
import store from './store'
import http from './common/httpRequest'
import mHelper from '@/utils/helper.js';
import $mGraceChecker from '@/utils/graceChecker';
import $mFormRule from '@/utils/formRule.config.js';


Vue.config.productionTip = false

Vue.prototype.$store = store;
Vue.prototype.$mHelper = mHelper;
Vue.prototype.$http = http

Vue.prototype.$mGraceChecker = $mGraceChecker;
Vue.prototype.$mFormRule = $mFormRule;

App.mpType = 'app'
 

App.mpType = 'app'

//全局挂载
Vue.mixin({
	computed: {
		token: {
			get() {
				return store.getters.token;
			},
			set(val) {
				store.state.token = val;
			}
		},
		
	}
});
import uView from "uview-ui";
Vue.use(uView);

const app = new Vue({
    ...App
})
app.$mount()
